#ifndef _RENZO_TEXTURE_
#define _RENZO_TEXTURE_

#include "RenzoMustHave.h"
#include "RenzoObject.h"

namespace Renzo
{
class RENZODERER_API Texture : public Object
{
protected:
	Texture(void);	
	static Object* create();
	virtual ~Texture(void);	
	
public:
	void initialize(Image* img);
	//TexID getTexID() const;
	Image* getImage() const;

/*
protected:
	ResourceID createResourceID();
*/

protected:
	Image* image;
	TexID texid;

public:
	friend class TextureManager;
	friend class ResourceManager;
};
}

#endif